//
//  HotBrandCollectionViewCell.m
//  19-Homework
//
//  Created by dllo on 16/8/9.
//  Copyright © 2016年 ZHW. All rights reserved.
//

#import "HotBrandCollectionViewCell.h"
#import "HotBrand.h"
#import "UIImageView+WebCache.h"
@interface HotBrandCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *carImageView;
@property (weak, nonatomic) IBOutlet UILabel *carNameLabel;

@end

@implementation HotBrandCollectionViewCell

- (void)setHotBrand:(HotBrand *)hotBrand {
    _hotBrand = hotBrand;
    _carNameLabel.text = hotBrand.name;
    [_carImageView sd_setImageWithURL:[NSURL URLWithString:hotBrand.img]];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
